import Vue from 'vue'
import App from './App'
import router from './router'
// 引入fastclick
// import fastClick from 'fastclick'
// 引入使用VueAwesomeSwiper
import store from './store'
import 'babel-polyfill'
// 引入重置样式表和border
import 'styles/reset.css'
import 'styles/border.css'
// 引入使用iconfont
import 'styles/iconfont.css'

import '@/permission' // permission control
// import Vconsole from 'vconsole'
// let vConsole = new Vconsole()

Vue.config.productionTip = false
// 使用fastClick   （解决移动端点击事件延迟300毫秒）
// fastClick.attach(document.body)

// import Vant from 'vant'
// import Vq from 'vue-qr'
// import VueCropper from 'vue-cropper'
import 'vant/lib/index.css'
// import { Toast } from 'vant'
// Toast.setDefaultOptions('loading', { forbidClick: true });

// Vue.use(Vant)
// Vue.use(Vq)
// Vue.use(VueCropper)
// Vue.use(vConsole)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
